
<!-- 导航侧栏 -->
<aside class="main-sidebar">
  <!-- sidebar: style can be found in sidebar.less -->
  <section class="sidebar">
    <!-- Sidebar user panel -->
    <div class="user-panel">
      <div class="pull-left image">
        <img src="__STATIC__/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
      </div>
      <div class="pull-left info">
        <p>{$Think.session.name}</p>
        <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
      </div>
    </div>
    <!-- search form -->
    <!--<form action="#" method="get" class="sidebar-form">
<div class="input-group">
    <input type="text" name="q" class="form-control" placeholder="搜索...">
    <span class="input-group-btn">
    <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
    </button>
  </span>
</div>
</form>-->
    <!-- /.search form -->


    <!-- sidebar menu: : style can be found in sidebar.less -->
    <ul class="sidebar-menu">
      <li class="header">菜单</li>

      <!-- 政府 -->
      {if condition="$Think.session.class eq 'G'"}

      <li id="admin-home"><a href="../index/home"><i class="fa fa-dashboard"></i> <span>首页</span></a></li>
      <li class="treeview">
        <a href="#">
          <i class="fa fa-folder"></i> <span>系统管理</span>
          <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
        </a>
        <ul class="treeview-menu">
          <li id="admin-company">
            <a href="../index/company">
              <i class="fa fa-circle-o"></i> 企业管理
            </a>
          </li>
          <li id="admin-produce">
            <a href="../index/produce">
              <i class="fa fa-circle-o"></i> 生产管理
            </a>
          </li>

        </ul>
      </li>

      <!-- 企业 -->
      {elseif condition="$Think.session.class eq 'Q'"}

      <!-- 企业审批通过了才显示更多功能 -->
      {if condition="$Think.session.cVerify eq 1"}
      <li id="admin-home"><a href="../company/home"><i class="fa fa-dashboard"></i> <span>首页</span></a></li>
      <li class="treeview">
        <a href="#">
          <i class="fa fa-folder"></i> <span>系统管理</span>
          <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
          </span>
        </a>
        <ul class="treeview-menu">
          <li id="admin-goods">
            <a href="../company/goods">
              <i class="fa fa-circle-o"></i> 产品管理
            </a>
          </li>
          <li id="admin-produce">
            <a href="../company/produce">
              <i class="fa fa-circle-o"></i> 生产管理
            </a>
          </li>
          <li id="admin-sell">
            <a href="../company/sell">
              <i class="fa fa-circle-o"></i> 销售管理
            </a>
          </li>
        </ul>
      </li>
      {else /}
      <li id="admin-home"><a href="#"><i class="fa fa-dashboard"></i> <span>首页</span></a></li>
      {/if}

      {/if}
      <!-- 菜单 -->





      <!-- 菜单 /-->

    </ul>
  </section>
  <!-- /.sidebar -->
</aside>
<!-- 导航侧栏 /-->